import { createApp } from 'vue'
import 'normalize.css' //重置样式
import 'animate.css'
import App from './App.vue'
import router from './router/index.js'
import {createPinia}from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
const pinia=createPinia()//创建状态机
pinia.use(piniaPluginPersistedstate) //为pinia添加持久化插件
let app=createApp(App)

app.use(router)//使用路由
app.use(pinia)//使用状态机

app.mount('#app')
